import diff from './diff'

// firstChild就是之前的節點
export default function render (virtualDOM, container, oldDOM = container.firstChild) {
  diff(virtualDOM, container, oldDOM) // 如果有舊節點，則對比新舊節點
}